import axios, { Axios } from "axios"

axios.defaults.baseURL = "http://xawn.f3322.net:8012"

export const getuserinfo = () => {
    return axios({
        url: "/user",
        method: 'get',
        headers: {
            // 'Content-Type': 'application/x-www-form-urlencoded',
            Authentication: localStorage.getItem("token")
        },
    })
}